package by.bsu.scs.model;

// Generated 05.03.2011 11:02:05 by Hibernate Tools 3.4.0.CR1

import java.util.HashSet;
import java.util.Set;

/**
 * 			This class contains StudentGroup details.
 * 		
 */
public class StudentGroup implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	
	private int studentGroupId;
	private Group group;
	private User user;
	private Set <DisciplineStudentGroup> disciplineStudentGroup = new HashSet <DisciplineStudentGroup> (0);

	public StudentGroup() {
	}

	public StudentGroup(Group group, User user) {
		this.group = group;
		this.user = user;
	}

	public StudentGroup(Group group, User user, Set <DisciplineStudentGroup> disciplineStudentGroup) {
		this.group = group;
		this.user = user;
		this.disciplineStudentGroup = disciplineStudentGroup;
	}

	public int getStudentGroupId() {
		return this.studentGroupId;
	}

	public void setStudentGroupId(int studentGroupId) {
		this.studentGroupId = studentGroupId;
	}

	public Group getGroup() {
		return this.group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Set <DisciplineStudentGroup> getDisciplineStudentGroup() {
		return this.disciplineStudentGroup;
	}

	public void setDisciplineStudentGroup(Set <DisciplineStudentGroup> disciplineStudentGroup) {
		this.disciplineStudentGroup = disciplineStudentGroup;
	}

}
